package com.gxa.web_admin.controller;

import com.gxa.common.vo.R;
import com.gxa.modules.pojo.Sys_User;
import com.gxa.modules.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/sys_user")
public class SysUserController {

    @Autowired
    private SysUserService sysUserService;

    //注册
    @RequestMapping(value = "/register",method = RequestMethod.POST)
    @ResponseBody
    public R register(@RequestBody Sys_User sys_user){
        return sysUserService.register(sys_user);
    }



}
